package com.refactor.practice.movieType.type;

import com.refactor.practice.movieType.MovieType;

public class NewRelease extends MovieType {

    private NewRelease() {
    }


    @Override
    public Double getPrice() {
        return 3D;
    }



    public static enum RegularEnum {
        INCTANCE;
        private NewRelease inctance = null;
        private RegularEnum() {
            inctance = new NewRelease();
        }

        public NewRelease getInctance() {
            return inctance;
        }
    }


    public static MovieType getInctance() {
        return RegularEnum.INCTANCE.getInctance();
    }
}
